<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets">


<!-- supprime du versionnage -->

<ui:composition template="/Template.xhtml">
	<ui:define name="page">
		<h1>Creation d'un chercheur</h1>

		<h:form>
			<table>

				<tr>
					<td align="right">votre nom</td>
					<td width="15"></td>
					<td>
						<!--                <h:inputText value="#{AnnonceProprietaire.annoncec.annonceentity.texte}" required="true"  id="texte"/>-->
						<!--il remonte ... je redescend ?--> <h:inputText
							value="#{creerNouveauChercheurVince.nom}" required="true"
							id="nom" /> <h:message for="nom" />
					</td>
				</tr>

				<tr>
					<td align="right">Prenom</td>
					<td width="15"></td>
					<td>
						<!--                <h:inputText value="#{AnnonceProprietaire.annoncec.annonceentity.texte}" required="true"  id="texte"/>-->
						<!--il remonte ... je redescend ?--> <h:inputText
							value="#{creerNouveauChercheurVince.prenom}" required="true"
							id="prenom" /> <h:message for="prenom" />
					</td>
				</tr>
				<tr>
					<td align="right">Pseudo</td>
					<td width="15"></td>
					<td><h:inputText value="#{creerNouveauChercheurVince.pseudo}"
							required="true" id="pseudo" /> <h:message for="pseudo" /></td>
				</tr>

				<tr>
					<td align="right">Mot de passe</td>
					<td width="15"></td>
					<td><h:inputText value="#{creerNouveauChercheurVince.mdp}"
							required="true" id="mdp" /> <h:message for="mdp" /></td>
				</tr>


				<tr>
					<td align="right">ville</td>
					<td width="15"></td>
					<td><h:inputText value="#{creerNouveauChercheurVince.ville}"
							required="true" id="ville" /> <h:message for="ville" /></td>
				</tr>
				<tr>
					<td align="right">date de naissance</td>
					<td width="15"></td>
					<td><h:inputText
							value="#{creerNouveauChercheurVince.dateNaissance}"
							required="true" id="dateNaissance" /> <h:message
							for="dateNaissance" /></td>
				</tr>
				<tr>
					<td align="right" colspan="3">
						<!--				<h:commandButton value="Valider" action="#{AnnonceProprietaire.saveAnnonce}" />-->
						<h:commandButton value="Valider"
							action="#{creerNouveauChercheurVince.creerChercheur}" />
					</td>
				</tr>



			</table>
		</h:form>
	</ui:define>
</ui:composition>
</html>